﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IDAL
{
    public interface IDataControl
    {
        void AddParameter(string parameterName, object value);
        void CloseConntion();
        void CloseReader();
        System.Data.SqlClient.SqlCommand Command { get; }
        string CommandText { get; set; }
        System.Data.SqlClient.SqlConnection Connection { get; }
        void DelParameter(string parameterName);
        int ExecuteNonQuery();
        void ExecuteReader();
        bool HasRow { get; }
        System.Data.SqlClient.SqlDataReader Reader { get; }
    }
}
